package com.linfeng.common.domain.tbk;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 首页轮播模块
 * </p>
 *
 * @author linfeng
 * @since 2021-01-19
 */
public class TrymallBanner implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 创建时间
     */
    @TableField(value = "create_date",fill = FieldFill.INSERT)
    private Long createDate;

    /**
     * 删除判断
     */
    @TableLogic
    private Integer delFlag;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 更新时间
     */
    @TableField(value = "update_date",fill = FieldFill.UPDATE)
    private Long updateDate;

    /**
     * 轮播主图
     */
    private String image;

    /**
     * 点击跳转地址
     */
    private String clickUrl;

    /**
     * 排序
     */
    private Long sort;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Long updateDate) {
        this.updateDate = updateDate;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getClickUrl() {
        return clickUrl;
    }

    public void setClickUrl(String clickUrl) {
        this.clickUrl = clickUrl;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "TrymallBanner{" +
        "id=" + id +
        ", createDate=" + createDate +
        ", delFlag=" + delFlag +
        ", remarks=" + remarks +
        ", updateDate=" + updateDate +
        ", image=" + image +
        ", clickUrl=" + clickUrl +
        ", sort=" + sort +
        "}";
    }
}
